package com.chaipuyu.service;

import com.chaipuyu.entity.*;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 作者: cc又瘦啦
 * 开发日期: 2021/12/20
 **/
public interface GoodsService {

    User selectUser(User user);

    PageInfo<Goods> selectGoods(Pojo pojo, Integer pageNum, Integer pageSize,User user);

    List<Brand> getBrandList();

    List<Type> getTypeList();

    int insert(Goods goods);

    User selectByusername(String uname);

    User selectByupwd(String uname, String upwd);
}
